package demo1109.demo02;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/11/9 16:11
 */
public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new FangDong());
        //代理对象
        Chuzu instance = proxyFactory.getInstance();

        instance.mai();
    }
}
